/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package sisos.Modelo;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * @author FLAVIOFAV
 */
@Entity
@Table(name = "Servico")
public class Servico implements Serializable {
    
    @Id
    @Column(name = "idServico")
    @GeneratedValue(strategy= GenerationType.TABLE)
    private int idServico;
    
    @Column(name = "descricaoServico")
    private String descricaoServico;
    
    @Column(name = "preco")
    private float preco;

    public int getIdServico() {
        return idServico;
    }

    public void setIdServico(int idServico) {
        this.idServico = idServico;
    }

    public String getDescricaoServico() {
        return descricaoServico;
    }

    public void setDescricaoServico(String descricaoServico) {
        this.descricaoServico = descricaoServico;
    }

    public float getPreco() {
        return preco;
    }

    public void setPreco(float preco) {
        this.preco = preco;
    }
    
    
}
